<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="/resource/css/admin/main.css" type="text/css" rel="stylesheet" />
<link href="/resource/css/admin/right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/base.js"></script>
</head>
<body>
	<div class="position"><span>您的当前位置：</span>文档管理 > 报送过来的文档</div>
    <form method="post" action="./">
    	<div class="rightbody f">
    		<div class="rightbodycontent">
		    	<table class="tools">
		        	<tr>
		            	<td>
		            		来源：
                            <select name="orgname" onchange="getform(this).submit()">
                                <option value="">--全部--</option>
                                <#list organizations as organization>
                            		<option value="${organization.name}"<#if orgname?? && organization.name == orgname> selected</#if>>${organization.name}</option>
                                </#list>
                            </select>
		                   	 标题：<input type="text" name="title" value="${title!}" style="width:200px" />&nbsp;<a onclick="getform(this).submit()" class="linkbtn search">搜索</a>
		                </td>
		                <td align="right">
		                    <a onclick="submitselectdata('passimport?articleids','接收所选文档','')" class="linkbtn pass">接收所选文档</a>&nbsp;
		                    <a onclick="submitselectdata('turndown?articleids','拒收所选文档','')" class="linkbtn turndown">拒收所选文档</a>
		                </td>
		            </tr>
		        </table>
		        <table cellspacing="1" cellpadding="4" class="tablelist">
		            <tr>
		                <th><input type="checkbox" onclick="selectallcheckbox(this)" /></th>
						<th width="40%">标题</th>
					    <th>来源</th>
					    <th>报送者</th>
					    <th>报送时间</th>
					    <th>操作</th>
		            </tr>
		            <#list articles as article>
		            	<tr<#if article_index % 2 == 1> class="splittr"</#if>>
			                <td align="center"><input type="checkbox" name="ids" value="${article.id}" /></td>
			                <td align="center">${article.title}<#if article.image??> <img src="/resource/image/admin/main/right/image.png" height="13" style="vertical-align:text-bottom;" /></#if></td>
			                <td align="center">${article.source}</td>
			                <td align="center">${article.pusher}</td>
			                <td align="center">${article.pushtime?string('yyyy-MM-dd HH:mm:ss')}</td>
			                <td align="center">
						        <a href="detail?articleid=${article.id}&callbackparams=${urlEncode(callbackparams)}" class="linkbtn detail noborder">详细</a>
			                	<a href="passimport?articleids=${article.id}&callbackparams=${urlEncode(callbackparams)}" class="linkbtn pass noborder">接收</a>
		                        <a href="turndown?articleids=${article.id}&callbackparams=${urlEncode(callbackparams)}" class="linkbtn turndown noborder"  onclick="return confirm('确定拒绝接收该文档吗？')">拒收</a>
			                </td>
			            </tr>
		            </#list>
		        </table>
		        <br />
				<#include "../../include/pager.html">
			</div>
		</div>
    </form>
</body>
</html>